

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>动作编辑</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <#include "../../include/layui.ftl" />
</head>
<body>

  <div class="layui-fluid">
    <div class="layui-card">
      <div class="layui-card-body" style="padding: 15px;">
        <form class="layui-form layui-form-pane" action="/console/com.fs.common.pojo.Motion/modify" lay-filter="layer-from">
          <input type="hidden" name="id">
          <div class="layui-form-item">
            <label class="layui-form-label">动作编码</label>
            <div class="layui-input-block">
              <input type="text" name="motionCode" lay-verify="required" autocomplete="off" placeholder="请输入动作编码" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">动作名称</label>
            <div class="layui-input-block">
              <input type="text" name="motionName" lay-verify="required" autocomplete="off" placeholder="请输入动作名称" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">动作图标</label>
            <div class="layui-input-block">
              <input type="text" name="motionIcon" lay-verify="" autocomplete="off" placeholder="请输入动作图标" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item">
            <label class="layui-form-label">动作排序</label>
            <div class="layui-input-block">
              <input type="text" name="motionOrder" lay-verify="required|number" autocomplete="off" placeholder="请输入动作排序" class="layui-input">
            </div>
          </div>
          <div class="layui-form-item" hidden>
            <div class="layui-input-block">
              <button id="permissionSubmit" class="layui-btn" lay-submit lay-filter="*">
                保存
              </button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>


  <script>
  layui.config({
    base: '${path}/plug-in/layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index','form'],function () {
    var form = layui.form,
           $ = layui.$;
    form.val("layer-from", $.extend(true,{},parent._data));
  });
  </script>
</body>
</html>
